treeview: allow subclassing GtkTreeView
authorChristian Hergert <chergert@redhat.com>
Fri, 17 Jul 2020 00:06:06 +0000 (17:06 -0700)
committerChristian Hergert <chergert@redhat.com>
Fri, 17 Jul 2020 00:06:15 +0000 (17:06 -0700)
commit7500f9b2557f819eadd858bf554b5357a414bba6
treecbc1edb02e59fb46db5bcf44571ffca11ad879f8
parent31a7cac4a672d991ca4efa74f9f6e40914a1021f
treeview: allow subclassing GtkTreeView

Porting code from GTK 3 without the ability to subclass GtkTreeView
directly can cause an extreme amount of pain on application developers.
It can also complicate performance when it comes to dealing with
encapsulation as the outer widget would also encapsulate the GtkScrollable
implementation from GtkTreeView, typically through GtkViewport.

Fixes #2936
gtk/gtktreeview.c
gtk/gtktreeview.h